//
//  NSString+trim.m
//  类别
//
//  Created by liuchengming on 16/4/21.
//  Copyright © 2016年 liuchengming. All rights reserved.
//

#import "NSString+trim.h"

@implementation NSString (trim)
-(NSString *)trim
{
    return [self stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
}

@end
